/**
 * 
 */
package groovy;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * <DL><DT>标题</DT></DL>
 *
 * @author liuboen
 * 
 * @since 2012-9-13
 * @version 1.0.0
 */
@Controller
public class GroovyController {


	    @Autowired
	    private Test groovyTest;

	    @RequestMapping("/proto.htm")
		@ResponseBody
	    public String test(String test) {
	        String returnString = groovyTest.doSomething(test);
	        return returnString;
	    }
}
